package com.wzf.service.impl;

import com.wzf.entity.User;
import com.wzf.mapper.UserMapper;
import com.wzf.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public void register(User user) {

        userMapper.save(user);
    }
}
